﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZH.Infrastructure.Attr;
using ZH.Infrastructure.Dto.Request.Login;
using ZH.Infrastructure.Dto.Response;
using ZH.Infrastructure.Dto.Response.admin;

namespace ZH.Service.Interface
{
    [Provider_]
    public interface I_Cashier_Service
    {
        /// <summary>
        /// 获取当前登录的用户
        /// </summary>
        /// <param name="code"></param>
        /// <param name="account"></param>
        /// <returns></returns>
        User_Response_Dto? Check_Login(string? code, string account);

        /// <summary>
        /// 收银员登录
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Response_Dto> Logins(Login_Request_Dto dto);



    }
}
